﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class DeliveryRobot:Robot
    {
        private int hours;
        public int Hours
        {
            get { return this.hours; }
            set { this.hours = value; }
        }

        public override void Working()
        {

        }
        public DeliveryRobot(int hours, string name) : base(name)
        {
            this.hours = hours;
        }
    }
}
